module.exports = {
  transpileDependencies: ['@dcloudio/uni-ui'],
  devServer: {
      host: '0.0.0.0',
      port: 8081,
      proxy: {
        '/api': {
          target: 'http://localhost/foo',
          changeOrigin: true,
          pathRewrite: {
            '^/api': ''
          }
        }
      }
    }
}